﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Http;

using ERPStore.Extensions;

using CloudSoft.Extensions;

namespace ERPStore.Web.Controllers
{
	[System.Web.Http.Description.ApiExplorerSettings(IgnoreApi = true)]
	public class StoreApiController : ApiController
	{
		[HttpGet]
		public DateTime Ping()
		{
			return DateTime.Now;
		}

		[HttpGet]
		public string ElipsisWordAt(string input, int wordCount)
		{
			return input.EllipsisWordsAt(wordCount);
		}
	}
}
